package ExamLab.Test2;


public class vdvd{
    public static void valCheck(int x, int... a){
         switch(x){
             /* case a[0]: System.out.print("Too low ");
              case a[1]: System.out.print("low ");
              case a[2]: System.out.print("Ideal ");
              case a[3]: System.out.print("High ");*/
              default: System.out.print("Illegal ");
         }
    }
    public static void main(String args[]){
         valCheck (5,4,3,5,3);
    }
}